/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo.thread;

/**
 *
 * @author VANDH
 */
public class IntegerWrap {

    private int i = 0;

    public IntegerWrap(int i) {
        this.i = i;
    }

    public void increment() {
        i++;
    }

    public void decrement() {
        i--;
    }

    public int getInt() {
        return i;
    }
}
